﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hp.Vertica.Migration.SqlServer
{
    class SqlDataType_DateTimeOffset : SqlDataType_DateTime2
    {
        public SqlDataType_DateTimeOffset() { }
        public SqlDataType_DateTimeOffset(Int32 precision) : base(precision) { }

        public override Client.Internal.VerticaDataType VerticaDataType
        {
            get { return new Client.Internal.VerticaDataType_TimestampTz(this.Precision); }
        }

        public override System.Data.SqlDbType SystemDataType
        {
            get { return System.Data.SqlDbType.DateTimeOffset; }
        }

        public override string Name
        {
            get
            {
                return "DATETIMEOFFSET";
            }
        }
    }
}
